How do you convert a matrix into a symmetric matrix